﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;

namespace MegavaniaX
{
    /// <summary>
    /// A Megavania sprite, which has an associated XNA Content entry, but also some additional information (e.g. sprite sheet, width, etc.)
    /// </summary>
    public struct MegavaniaSprite
    {
        /// <summary>
        /// Width of the sprite.
        /// </summary>
        public int width;

        /// <summary>
        /// Height of the sprite.
        /// </summary>
        public int height;

        /// <summary>
        /// X coordinate on the texture of the sprite.
        /// </summary>
        public int x;

        /// <summary>
        /// Y coordinate on the texture of the sprite.
        /// </summary>
        public int y;

        /// <summary>
        /// The texture on which the sprite is.
        /// </summary>
        public Texture2D Texture { get; set; }

        public int offsetX;

        public int offsetY;


    }
}
